Skip to content

chore: drop Python 3.9 support#49

Merged
mldangelo-oai merged 3 commits into
mainfrom
mdangelo/codex/drop-python-39
May 22, 2026
Merged

chore: drop Python 3.9 support#49
mldangelo-oai merged 3 commits into
mainfrom
mdangelo/codex/drop-python-39

Conversation

@mldangelo-oai
Copy link
Copy Markdown
Contributor

@mldangelo-oai mldangelo-oai commented May 22, 2026

Summary

  • raise the Python wrapper support floor from 3.9 to 3.10 across package metadata, CI, and docs
  • add explicit support coverage for the latest stable CPython line, Python 3.14 (Python 3.14.5 as of May 22, 2026)
  • remove the Python 3.9-only urllib3 resolver constraint now that urllib3 2.7 drops 3.9
  • refresh the uv lock for the new support window and adopt Python 3.10 union syntax required by Ruff at the new target

Validation

  • uv lock --check
  • uv sync --python 3.14 --extra dev
  • uv run python --version # Python 3.14.5
  • uv run ruff check src/
  • uv run ruff format --check src/
  • uv run mypy src/promptfoo/
  • uv run pyright src/promptfoo/
  • uv run pytest tests/ -v -m "not smoke"
  • uv run pytest tests/smoke/ -v
  • uv build

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c000a32bd5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread uv.lock
@mldangelo-oai mldangelo-oai merged commit 9750814 into main May 22, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant